<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html 
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SLU 
 * All portions are Copyright (C) 2008-2015 Openbravo SLU 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Loading</title>
<link rel="shortcut icon" href="../../../../../web/images/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Openbravo_ERP_250.css" id="paramCSS"></link>
<script language="JavaScript" type="text/javascript" id="paramDirectory">
var baseDirectory = "../../../../../web/";
</script>
<script language="JavaScript" src="../utility/DynamicJS.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript" id="paramLanguage">
  defaultLang = "en_US";
</script>
<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
<script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
<script language="JavaScript" src="../../../../../web/js/appStatus.js" type="text/javascript"></script>
<script language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></script>


  <script language="javascript">
    function onLoadDo() {
      moreOnLoadDoFunctions();
      if (isIE9Strict || isEdge) {
        var i=0;
        var setOpenerInterval = setInterval(
          function() {
            if (window.opener) {
              clearInterval(setOpenerInterval);
              window.opener.setPopupLoadingWindowLoaded(true);
            } else if (i === 400) {
              clearInterval(setOpenerInterval);
              console.log('Error: Timeout. window.opener not found');
            } else {
              i++;
            }
          }, 20);
      } else {
        window.opener.setPopupLoadingWindowLoaded(true);
      }
      return true;
    }
  </script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();">
<div class="Popup_Status_Loading_Container" id="Processing_Container">
  <div class="Popup_Status_Loading_Elements_Container">
    <div class="Popup_Status_Loading_logo">
      <div class="Popup_Status_Loading_logo_dimension"></div>
    </div>
    <div class="Popup_Status_Loading_text">Loading...</div>
  </div>
</div>
</body>
</html>
